

html { height: 100%; width: 100%;   }
body { 
    margin: 0;
    height: 100%;
    width: 80%;
    padding: 0;
    border: 0;
    border-top: 0;
    background: #FFFFFF;
    font: 13px/15px Verdana,Arial,Helvetica,sans-serif; }

img { 
    border: none; 
}

table { 
    border: 1px solid;
    vertical-align: top;
    text-align: left;
    font: 13px/15px Verdana,Arial,Helvetica,sans-serif;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 60%;
    height: 100%;
    -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
    
}

tr{
    
    height: 30px;
    padding: 5px;
    color: #1A446C;
}
table tr td a {
    display:block;
    height:100%;
    width:100%;
     color: #1A446C;
}
table a:visited{
    
    color: #1A446C;
}





tr:nth-child(even) {background: #CCC}
tr:nth-child(odd)  {background: #888}

a { 
    color: #8D0D19;
}

header { 
    height: 100px; text-align: left; 
    background: white; 
    color: #D4E6F4; 
}
header h1 { padding: 1em;
            margin: 0;
}

/* Note: IE 5 & 6 won't understand min-height */
section{ 
    min-height: 600px; 
    padding: 10px;
    background-color: rgba(178, 178, 178, 0.5);
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

#content a a:visited a:hover
{
    color: black;
}

fieldset{
    
    margin: 10px;
    padding: 10px;
    
}
nav{
    margin-top: 30px;
    padding: 10px;
    height: 20px;
    background: -moz-linear-gradient(top, #514e4f, #6f6f6f);
    font-size: 10px;
    width: 100%;
}

    footer { 
    height: 2em; 
    padding: 1em; 
    text-align: center; 
    background-color: #514e4f;
    color: white;
    width: 100%;
}

table.bordered tr th, table.bordered tr td {
    border: 1px solid #000000; 
}

#pagination .selected { 
    font-weight: bold; color: #8D0D19;
}
  
 nav ul, li, a, a:visited{ 
     
    display: inline; 
    padding: 10px;
    width: 140px;  
    font-size: 12px;  
    line-height: 20px;   
    text-decoration: none;  
    color: white;  
}  
      
nav ul li a:hover {  
    color: pink;  
}  

nav ul {
    
    margin-left: auto;
     margin-right: auto;
}
      
nav ul li.selected a {  
    color: #fff;  
}  
            
em {
    font-weight: bold; padding-right: 5em; vertical-align: top; 
}
label {
    width: 10em; float: left; 
}
	
label.error { 
    float: none;
    color: red; 
    padding-left: .5em;
    vertical-align: top; 
}
aside{
    
}

#sortering{
      background: #fff;
      margin-left: 800px;
      margin-right:-10px;
      width: 100px;
      padding: 20px;
      text-align: center;
      border-top: 0;
      /* border-radius */
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      /* box-shadow */
      -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
      -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
      box-shadow: rgba(0,0,0,0.2) 12px 12px 12px;

}

#search
{
    margin-right: 350px;
    margin-top: -50px;
    width: 250px;
    float: right;
    
    
}
#search input
{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 250px;
    height: 30px;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    box-shadow: rgba(0,0,0,0.2) 12px 0px 12px;
    background: -webkit-gradient(linear, left top, left bottombottom, from(#d9d9d9), to(#ffffff));  
    background: -moz-linear-gradient(top,  #d9d9d9,  #ffffff);
    padding: 5px;
    font-size: 14px;  
    text-shadow: 0px 0.5px 0px #555;
    color: #777;
    
    
}

#search input:focus
{
      
    -webkit-box-shadow: 0px 0px 5px #eb6164;  
    -moz-box-shadow: 0px 0px 5px #eb6164;    
    box-shadow: 0px 0px 5px #eb6164;   

}
#commentform{
    
    background: lightgoldenrodyellow; opacity: 1;
    margin-left: auto;
    margin-right: auto;
    width: 600px;
    margin-bottom: 10px;
    padding: 20px;
    text-align:left;
    /* border-radius */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* box-shadow */
    -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
}
#comments{
	
  margin: 0 auto;
  width: 640px;
  text-align:left;

}

.comment{
    padding: 25px;
    background: -moz-linear-gradient(top, white, antiquewhite); 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    border: solid 2px buttonshadow;
    border: solid 1px transparent;
    
}
.comment:hover{
    
    border: solid 1px #eb6164; 
    
}

#likebuttons #count{
    float: right;
}
#likebuttons{
    float: right;
}


#showproduct{
    
  background-color: lavender;
	
  margin: 0 auto;
  width: 600px;
  padding: 20px;
  text-align:left;
  /* border-radius */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /* box-shadow */
  -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;

}
#showcompany{
    
  background-color: lavender;
	
  margin: 0 auto;
  width: 600px;
  padding: 20px;
  text-align:left;
  /* border-radius */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /* box-shadow */
  -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
}
#searchform{
    
  background-color: lavender;
  position:absolute;
  left:400px;
  top:30px;
  margin: 0 auto;
  width: 300px;
  padding: 10px;
  text-align:left;
  /* border-radius */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /* box-shadow */
  -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
}
#ratefelt{
    
  background-color: powderblue;
	
  margin: 0 auto;
  width: 600px;
  padding: 20px;
  text-align:left;
  /* border-radius */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /* box-shadow */
  -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
}

#feed 
{
    width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#feed #comment{
    
    padding: 30px;
    background: -moz-linear-gradient(top, white, antiquewhite); 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
    border: solid 2px buttonshadow;
}

#feed #comment:hover{
    background: #D4E6F4;
    border: solid 2px gray;
    
}



#feed #user{
    padding: 10px;
}
#time{
    
    font-size: 8px;
    float: right;
    padding: 10px;
}
#commentsshow{ 
    display:none;
}
#commentsshow1{
    display:none;
}
#commentsshow2{
    display:none;
}

#commentinfo{
    display: none;
    padding: 20px;
    margin: 15px;
    border: solid 1px gray;
    font-weight: italic;
    color: gray;
    background-color: #D4E6F4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


#ratebar{
   background-color: purple; 
    display:none;
}
#fm{
    width: 28%;
    height: 30%;
    padding: 30px;
      
}
#viewpie{
    background-color: yellowgreen;
    display:none;
}
#viewgraph{
    background-color: tomato;
    display:none;
}
#stats{
      background-color: white;
  margin: 0 auto;
  width: 600px;
  padding: 20px;
  text-align:left;
  /* border-radius */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /* box-shadow */
  -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
  box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;


}
#viewcake{
     display:none;
}
#graphviewst{
    display:none;
}
                
#stats {
    
    height: 350px;
    padding: 20px;
}

#like {
    background: transparent  url('../images/like_mo.png');
    border: none;
    height: 20px;
        color: transparent;
}
#like:hover{
    background: transparent  url('../images/like_1.png');
    color: transparent;
}

#dislike {
    background: transparent  url('../images/dislike_mo.png');
    border: none;
    height: 20px;
    color: transparent;
   
}

#dislike:hover{
    background: transparent  url('../images/dislike_1.png');
    color: transparent;
}



#uform {
    
    padding: 20px;
}

#uform select{
 width: 200px;
}

#uform input {
 widht: 200px;
}

#commentform textarea {
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#commentform input {
    margin: 10px;
    padding: 3px;
}

#comment a:visited{
    
    color: #514e4f;
    
}
 #error {
    background-color: pink;
    padding: 15px;
    
}

#ulogin{
    
    padding: 20px;
    margin-left: 40px;
}

#admedit{
    
    padding: 10px;
}

#admedit label, input, #companyedit, #productedit{
    margin-top: 5px;
    margin-left: 10px;
}